#include "cuart.h"

uint8_t rxdat;
char rxdata[30];
char rx_pointer=0;
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{
	rxdata[rx_pointer++]=rxdat;
	HAL_UART_Receive_IT(&huart1,&rxdat,1);
}